package com.hnevc.mallserver3.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnevc.mallserver3.dto.CommentDTO;
import com.hnevc.mallserver3.dto.Page;
import com.hnevc.mallserver3.entity.Comment;
import com.hnevc.mallserver3.mapper.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CommentService  extends IService<Comment> {
    public CommentDTO selectCommentById(Long id);
    public List<CommentDTO> selectCommentByGoodsId(Long id);

    public List<CommentDTO> listByPage(Long id, Page page);
}
